package com.car.advertising.entity;

/**
 * Created by hdb on 2017/4/10.
 */

public class TaskRecordEntity {

    public String id = "";
    public String taskTitle = "";//标题
    public String taskImg = ""; //图片，封面或内容中显示
    public String taskInfo = "";//简介，描述
    public String taskContent = "";//内容
    public String personLimit = ""; //人数限制，任务设定的可接单数量
    public String totalPrice = ""; //任务总金额
    public String unitPrice = "";//单价
    public String taskCycle = ""; //任务周期，天数
    public String currentNum = ""; //当前接单人数
    public String taskStatus = ""; //状态，0：未发布1：进行中:2：验收中3：已结束4：已过期5：已删除
    public String beginTime = ""; //开始时间，到秒
    public String finishTime = ""; //结束时间，到秒
    public String createAt = ""; //创建时间，到秒，
    public String updateAt = ""; //更新时间，到秒


    public TaskRecordEntity() {
        super();
    }

    public TaskRecordEntity(String id, String taskTitle, String taskImg, String taskInfo, String taskContent, String personLimit, String totalPrice, String unitPrice, String taskCycle, String currentNum, String taskStatus, String beginTime, String finishTime, String createAt, String updateAt) {
        this.id = id;
        this.taskTitle = taskTitle;
        this.taskImg = taskImg;
        this.taskInfo = taskInfo;
        this.taskContent = taskContent;
        this.personLimit = personLimit;
        this.totalPrice = totalPrice;
        this.unitPrice = unitPrice;
        this.taskCycle = taskCycle;
        this.currentNum = currentNum;
        this.taskStatus = taskStatus;
        this.beginTime = beginTime;
        this.finishTime = finishTime;
        this.createAt = createAt;
        this.updateAt = updateAt;
    }

    public String getTaskId() {
        return id;
    }

    public String getTaskTitle() {
        return taskTitle;
    }

    public String getTaskImg() {
        return taskImg;
    }

    public String getTaskInfo() {
        return taskInfo;
    }

    public String getTaskContent() {
        return taskContent;
    }

    public String getPersonLimit() {
        return personLimit;
    }

    public String getTotalPrice() {
        return totalPrice;
    }

    public String getUnitPrice() {
        return unitPrice;
    }

    public String getTaskCycle() {
        return taskCycle;
    }

    public String getCurrentNum() {
        return currentNum;
    }

    public String getTaskStatus() {
        return taskStatus;
    }

    public String getBeginTime() {
        return beginTime;
    }

    public String getFinishTime() {
        return finishTime;
    }

    public String getCreateAt() {
        return createAt;
    }

    public String getUpdateAt() {
        return updateAt;
    }

    @Override
    public String toString() {
        return "TaskRecordEntity{" +
                "id='" + id + '\'' +
                ", taskTitle='" + taskTitle + '\'' +
                ", taskImg='" + taskImg + '\'' +
                ", taskInfo='" + taskInfo + '\'' +
                ", taskContent='" + taskContent + '\'' +
                ", personLimit='" + personLimit + '\'' +
                ", totalPrice='" + totalPrice + '\'' +
                ", unitPrice='" + unitPrice + '\'' +
                ", taskCycle='" + taskCycle + '\'' +
                ", currentNum='" + currentNum + '\'' +
                ", taskStatus='" + taskStatus + '\'' +
                ", beginTime='" + beginTime + '\'' +
                ", finishTime='" + finishTime + '\'' +
                ", createAt='" + createAt + '\'' +
                ", updateAt='" + updateAt + '\'' +
                '}';
    }
}
